package cn.com.miao.lynx.service.system.repository;

import cn.com.miao.lynx.common.base.repository.BaseRepository;
import cn.com.miao.lynx.service.system.entity.SysUser;
import org.springframework.stereotype.Repository;

/**
 * SysUserRepository
 * 系统用户仓储
 * @title: SysUserRepository
 * @description:
 * @author: dengmiao
 * @create: 2019-12-24 11:20
 **/
@Repository
public interface SysUserRepository extends BaseRepository<SysUser, Long> {

    SysUser findSysUserByUsername(String username);

    SysUser findSysUserByPhone(String phone);
}
